import {Entity, PrimaryGeneratedColumn, Column} from "typeorm";

// 用户实体
@Entity()
export class User {

  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  username: string;

  @Column()
  password: string;

  @Column()
  is_admin: string;

}
